package com.rustic.server.query;

import cn.xy.base.server.bean.IPage;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 表[rustic_admin]对应Query查询类
 *
 * @author auto
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class RusticAdminAdminListQuery extends IPage {

    /**
     * 乡村id
     */
    @ApiModelProperty(value = "乡村id", dataType = "int")
    private int rusticId;

    /**
     * 角色id
     */
    @ApiModelProperty(value = "角色id", dataType = "int")
    private int roleId;

    /**
     * 用户账号
     */
    @ApiModelProperty(value = "用户账号", dataType = "String")
    private String username;

    /**
     * 创建时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @ApiModelProperty(value = "开始创建时间(yyyy-MM-dd HH:mm)", dataType = "Date")
    private Date startCreateTime;

    /**
     * 创建时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @ApiModelProperty(value = "结束创建时间(yyyy-MM-dd HH:mm)", dataType = "Date")
    private Date endCreateTime;

}
